import VueRouter from "vue-router";
import Vue from "vue";
import routes from "routes/routes"

Vue.use(VueRouter)
const router = new VueRouter({
    routes,
    mode:"history",
    scrollBehavior(){
        return {x:0,y:0}
    }
})

import {defined} from "router/defined"
defined(router)

export default router
